package weekend;
import java.util.Scanner;
public class Demo {
    public static void main(String[] args) {
        int hp = 0;

        Scanner scan = new Scanner(System.in);
        do{
            System.out.println("请选择你的行动：1.下一层 2.休息");
            int remmand = scan.nextInt();
            switch (remmand){
                case 1:
                    monster001();
                    System.out.println("进入战斗");
                    System.out.println("请选择你的行动：");
                    int remmand1 = scan.nextInt();
                    switch (remmand1){
                        case 1:

                    }
                case 2:
                    hp += 50;
            }
        }while (true);









    }

    //001
    public static String monster001(){
        int hp = (int) (Math.random()*10+100);
        int atk = 5;
        int def = 0;
        String monster01 =(String) ("血量："+hp+"\t攻击："+atk+"\t防御："+def);
        System.out.println(monster01);
        return monster01;
    }

    public static String battle(int atk,int def){
        int atkresult = atk - def;
        String atkresult1 = (String)("攻击造成了"+atkresult+"点伤害！");
        System.out.println(atkresult1);
        return atkresult1;
    }
}
